/*
 * @Author: XieQiu 雪球
 * @Date: 2021-05-31 08:57:52
 * @LastEditTime: 2021-05-31 11:25:31
 * @LastEditors: XieQiu 雪球
 * @Description: 获取设备模板数据接口
 */
import xjaxios from "@/api/axios";

export default {
  /**
   * @description: 获取设备模板数据
   * @param null
   * @return {Object}
   */

  getAgriMateTypeList(page, size) {
    return xjaxios.post(`/equipmentTypeTemplate/queryPage/${page}/${size}`);
  },
  editAgriMateTypeInfo(formData) {
    return xjaxios.post(`equipmentTypeTemplate/edit`, formData);
  },
  queryIpmentTypeList(val) {
    return xjaxios.post(`equipmentTypeTemplate/query/${val}`);
  },
  getipmentTypeList(val) {
    return xjaxios.post(`/equipmentType/queryByCondition`, { organizationNo: sessionStorage.organizationNo
    });
  }

};
